/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xub.service;

import com.xub.config.client.EurekaClientFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author -adm-xubin
 */
@Service
public class HiService {
    
    @Autowired
    private EurekaClientFeign eurekaClientFeign;
    
    public String sayHi(String name) {
        return eurekaClientFeign.sayHiFromEurekaClient(name);
    }
    
}
